DIRS = lib 01_UNIX_Introduction 02_UNIX_Standard 03_Unbuffered_IO 04_FILE_DIR 05_Standard_IO \
		06_System_Info 07_Process_Env 08_Process_Ctl 09_Process_Rel 10_Signals 11_Threads 12_ThreadCtl 13_Daemons \
		14_Advanced_IO 15_IPC

all:
	for i in $(DIRS); do \
		(cd $$i && echo "making $$i" && $(MAKE) ) || exit 1; \
	done
	
clean:
	for i in $(DIRS); do \
		(cd $$i && echo "cleaning $$i" && $(MAKE) clean) || exit 1; \
	done
